Optimal. Leaf size=114 \[ \frac {3 A \sin (c+d x) \, _2F_1\left (-\frac {1}{3},\frac {1}{2};\frac {2}{3};\cos ^2(c+d x)\right )}{2 d \sqrt {\sin ^2(c+d x)} (b \cos (c+d x))^{2/3}}-\frac {3 B \sin (c+d x) \sqrt [3]{b \cos (c+d x)} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )}{b d \sqrt {\sin ^2(c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 114, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {16, 2748, 2643} \[ \frac {3 A \sin (c+d x) \, _2F_1\left (-\frac {1}{3},\frac {1}{2};\frac {2}{3};\cos ^2(c+d x)\right )}{2 d \sqrt {\sin ^2(c+d x)} (b \cos (c+d x))^{2/3}}-\frac {3 B \sin (c+d x) \sqrt [3]{b \cos (c+d x)} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )}{b d \sqrt {\sin ^2(c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2643
Rule 2748
Rubi steps
\begin {align*} \int \frac {(A+B \cos (c+d x)) \sec (c+d x)}{(b \cos (c+d x))^{2/3}} \, dx &=b \int \frac {A+B \cos (c+d x)}{(b \cos (c+d x))^{5/3}} \, dx\\ &=(A b) \int \frac {1}{(b \cos (c+d x))^{5/3}} \, dx+B \int \frac {1}{(b \cos (c+d x))^{2/3}} \, dx\\ &=\frac {3 A \, _2F_1\left (-\frac {1}{3},\frac {1}{2};\frac {2}{3};\cos ^2(c+d x)\right ) \sin (c+d x)}{2 d (b \cos (c+d x))^{2/3} \sqrt {\sin ^2(c+d x)}}-\frac {3 B \sqrt [3]{b \cos (c+d x)} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right ) \sin (c+d x)}{b d \sqrt {\sin ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 85, normalized size = 0.75 \[ \frac {3 \sqrt {\sin ^2(c+d x)} \csc (c+d x) \left (A \, _2F_1\left (-\frac {1}{3},\frac {1}{2};\frac {2}{3};\cos ^2(c+d x)\right )-2 B \cos (c+d x) \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )\right )}{2 d (b \cos (c+d x))^{2/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.77, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {1}{3}} \sec \left (d x + c\right )}{b \cos \left (d x + c\right )}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (B \cos \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )}{\left (b \cos \left (d x + c\right )\right )^{\frac {2}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.20, size = 0, normalized size = 0.00 \[ \int \frac {\left (A +B \cos \left (d x +c \right )\right ) \sec \left (d x +c \right )}{\left (b \cos \left (d x +c \right )\right )^{\frac {2}{3}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (B \cos \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )}{\left (b \cos \left (d x + c\right )\right )^{\frac {2}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {A+B\,\cos \left (c+d\,x\right )}{\cos \left (c+d\,x\right )\,{\left (b\,\cos \left (c+d\,x\right )\right )}^{2/3}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (A + B \cos {\left (c + d x \right )}\right ) \sec {\left (c + d x \right )}}{\left (b \cos {\left (c + d x \right )}\right )^{\frac {2}{3}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________